/**
 * 
 */
package neptune.web.client.commands;

import neptune.web.client.callback.TopologyUploadCallback;
import neptune.web.client.services.experiment.ExperimentService;

import com.google.gwt.user.client.Command;

/**
 * @author Roberto Bifulco [RobertoBifulco.it] [info@robertoBifulco.it]
 * 
 */
public class ValidateTopologyCommand implements Command {

	private String expName;

	public ValidateTopologyCommand(String expName) {
		super();
		this.expName = expName;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.google.gwt.user.client.Command#execute()
	 */
	public void execute() {
		ExperimentService.Util.getInstance().validateExperimentTopology(
				expName, new TopologyUploadCallback(expName));
	}

}
